﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace a_fung
{
	public partial class Connecting : Form
	{
		delegate void safeCallback();

		public Connecting()
		{
			InitializeComponent();

			new System.Threading.Thread(Connect).Start();
		}

		private void Connect()
		{
			System.Threading.Thread.Sleep(100);

			Prototype p = new Prototype(this);

			Application.Run(p);
			this.Invoke(new safeCallback(Close));
		}
	}
}
